package com.fzebu.fastboot.domain.form;

import com.fzebu.fastboot.annotations.Alias;
import com.fzebu.fastboot.annotations.form.Browser;
import com.fzebu.fastboot.annotations.form.Number;
import com.fzebu.fastboot.annotations.form.Table;
import com.fzebu.fastboot.annotations.form.Text;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
@Table(table = "formtable_main_2", desc = "测试GForm")
public class FormTable2 {

	@Alias(value="nickname", desc="姓名")
	private String nickname;

	@Number
	@Alias(value="age", desc="年龄")
	private Integer age;

	@Browser
	@Alias(value="birthday", desc="生日")
	private String birthday;

	@Text
	@Alias(value="introduction", desc="简介")
	private String introduction;

	@Text
	@Alias(value="related_data", desc="相关资料")
	private String related_data;

	@Text
	@Alias(value="photo", desc="照片")
	private String photo;

	@Alias(value="wd", desc="文档")
	private Integer wd;

	@Alias(value="drl", desc="单人力")
	private Integer drl;

	@Text
	@Browser(multiple=true)
	@Alias(value="duorenli", desc="多人力")
	private String duorenli;
}